// AccessDataBaseDlg.h : header file
//

#pragma once
#include "CVaguelySearchDlg.h"

// CAccessDataBaseDlg dialog

class CAccessDataBaseDlg : public CDialog
{
// Construction
public:
	CAccessDataBaseDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_ACCESSDATABASE_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	
	CVaguelySearchDlg* m_CVaguelySearchDlg;
// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedVaguelySearch();
	afx_msg void OnBnClickedSelectdb1Btn();
	afx_msg void OnBnClickedSelectdb2Btn();
	void SetConfigText(int index,CString strText);
	CString GetExePath();
	void WriteConfigFile(CString strConfig);
};
